import derelict.sdl.sdl;

const int   xResolution     = 800;
const int   yResolution     = 600;

const int   bitsPerPixel    = 32;
const uint	background		= 0x7F7F7F;
const uint	foreground		= 0x00FF00;

const uint	fpsRefresh		= 2500;


void clearScreen(SDL_Surface *surface){
	uint *p = cast(uint *)surface.pixels;
	p[0..xResolution * yResolution] = background;
}
